<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>填写</title>
</head>
<body>

<script>

  // 通过fetch post获取数据
  function getData() {
    fetch('http://localhost:5050/login', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      // body: JSON.stringify(data)
    }).then(res => {
      console.log(res)
    })
  }

  getData()
</script>
</body>
</html>